﻿Namespace Menu
    Public Class CustomMenu
        Public button As List(Of BaseButton) = New List(Of BaseButton)()

        Public Sub AddMulitButton(multiBtn As MultiButton)
            Me.button.Add(multiBtn)
        End Sub

        Public Sub AddClickButton(clickBtn As ClickButton)
            Me.button.Add(clickBtn)
        End Sub

        Public Sub AddViewButton(viewBtn As ViewButton)
            Me.button.Add(viewBtn)
        End Sub

        Public Overridable Function GetJSON() As String
            Return Util.ToJson(Me)
        End Function
    End Class
End Namespace
